<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="bootstrap.min.css"/>
    <style>
        .row{
            margin-bottom: 20px;
        }
        .row .row{
            margin-top: 10px;
            margin-bottom: 0px;
        }
        [class*="col-"]{
            padding-top: 15px;
            padding-bottom: 15px;
            background-color: red;
            background-color: gray;
            border: 1px solid #000000;
            border: 1px solid navajowhite;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row">
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
           <div class="col-md-1">col-md-1</div>
       </div>
        <div class="row">
            <div class="col-md-3">col-md-3</div>
            <div class="col-md-3">col-md-3</div>
            <div class="col-md-3">col-md-3</div>
            <div class="col-md-3">col-md-3</div>
        </div>
        <div class="row">
            <div class="col-md-3">col-md-3col-md-3col-md-3col-md-3col-md-3col-md-3</div>
            <div class="col-md-3">col-md-3</div>
            <div class="col-md-3">col-md-3</div>
            <div class="col-md-3">col-md-3</div>
        </div>
        <div class="row">
            <div class="col-md-4 col-md-offset-1">col-md-4</div>  <!--偏移一个,col-md-offset-4 这是偏移4个-->
        </div>

        <div class="row">
            <div class="col-sm-9">
                one
                    <div class="col-xs-8">
                        first
                    </div>
                    <div class="col-xs-4">
                        two
                    </div>
            </div>
        </div>

        <!--列的排序的调整-->
        <div class="row">
            <div class="col-md-9 col-md-push-3">col-md-9</div>
            <div class="col-md-3 col-md-pull-9">col-md-3</div>
        </div>
    </div>
</body>
</html>